import Vue from "vue";
import VueRouter from "vue-router";
import ScreenPage from '@/views/ScreenPage'
import MapPage from '@/views/MapPage'
Vue.use(VueRouter)

const routes = [
    {
        path:'/',
        redirect:'/screen'
    },
    {
        path:'/screen',
        component:ScreenPage
    },
    {
        path:'/mappage',
        component:MapPage
    }
]

const router = new VueRouter({
    routes
})
export default router